#ifndef UTILS_H
#define UTILS_H

#include <unistd.h>
#include <stdint.h>


uint32_t reversebytes_uint32t(uint32_t value);
int16_t max(int16_t a, int16_t b);
int16_t min(int16_t a, int16_t b);
double max(double a, double b);
double min(double a, double b);
double map(double x, double in_min, double in_max, double out_min, double out_max);

#endif // UTILS_H

